8 Puzzle problem in artificial intelligence